﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DeHeng_Mes.Model.Table
{
    [SqlSugar.SugarTable("device_fault")]
    public class DeviceFault
    {
        [SqlSugar.SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        [SugarColumn(ColumnName = "order_id")]
        public string OrderId { get; set; }
        [SugarColumn(ColumnName = "plc_name")]
        public string PlcName { get; set; }
/*        [SugarColumn(ColumnName = "operation")]
        public string Operation { get; set; }*/
 /*       [SugarColumn(ColumnName = "device_id")]
        public string DeviceId { get; set; }*/
        [SugarColumn(ColumnName = "fault_message")]
        public string FaultMessage { get; set; }
        [SugarColumn(ColumnName = "fault_type")]
        public string FaultType { get; set; }
        [SugarColumn(ColumnName = "time_long")]
        public string FaultTime { get; set; }
        [SugarColumn(ColumnName = "stop_start_time")]
        public DateTime StopStartTime { get; set; }
        [SugarColumn(ColumnName = "stop_end_time")]
        public DateTime StopEndTime { get; set; }
    }
}
